package com.olymtech.jbricks.demo.mail.model;

import java.util.Map;

/**
 * @author haoting.wang
 * @date 2020/12/21 3:33 下午
 **/
public class MultipartEmail {

    /**
     * 收件人 多个,分割
     */
    private String to;

    /**
     * 抄送人 多个,分割
     */
    private String cc;

    private String title;

    private String content;

    /**
     * text/plain;charset=utf-8
     * <p>
     * text/html;charset=utf-8
     */
    private String mimeType = "text/html;charset=utf-8";


    /**
     * key : filename
     * value: fileUrl,外网可下载地址
     */
    private Map<String, String> files;


    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getCc() {
        return cc;
    }

    public void setCc(String cc) {
        this.cc = cc;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMimeType() {
        return mimeType;
    }

    public void setMimeType(String mimeType) {
        this.mimeType = mimeType;
    }

    public Map<String, String> getFiles() {
        return files;
    }

    public void setFiles(Map<String, String> files) {
        this.files = files;
    }


}
